package com.itheima.homework8.firstwork.one;
/*
	1. 泛型的使用：泛型类、泛型方法、泛型接口
 */
public class Test01 {
    public static void main(String[] args) {
       Test00<String> t=new Test00<>();
       t.setElement("itheima");
        System.out.println(t.getElement());
        method1(123);
        InterImpl<Double> ii=new InterImpl<>();
        ii.print(3.1415926);
    }
//泛型方法
    public static <E> void method1(E e){
        System.out.println("e = " + e);
        System.out.println("字节码信息："+e.getClass());
    }
}
